﻿package mortal.game.view.rebate.shop.item
{
    import com.mui.controls.*;
    import extend.language.*;
    import flash.events.*;
    import mortal.common.global.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;
    import mortal.game.view.rebate.item.*;

    public class RebatShopBigCell extends RebateShopCell
    {
        protected var _title:GBitmap;
        protected var _moneyIcon1:GBitmap;
        protected var _moneyIcon2:GBitmap;
        protected var _tip:GBitmap;
        protected var _buyBtn2:GLoadedButton;

        public function RebatShopBigCell()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            _bg = UIFactory.gImageBitmap(ImagesConst.RebateShopCellBigBg, 0, 0, this);
            this._title = UIFactory.gBitmap(ImagesConst.RechargeShopBigTitle, 54, 14, this);
            _numTxt = UIFactory.gTextField("" + Language.getString(71920), 0, 186, 236, 25, this, GlobalStyle.textFormatLv.setSize(14).center());
            _oldPrice = UIFactory.gTextField("" + Language.getString(71921), 64, 211, 100, 25, this, GlobalStyle.textFormatDanLan.setSize(14));
            _newPrice = UIFactory.gTextField("" + Language.getString(71922), 64, 234, 100, 25, this, GlobalStyle.textFormatChen.setSize(14));
            this._moneyIcon1 = UIFactory.gBitmap(ImagesConst.Yuanbao, 163, 212, this);
            this._moneyIcon2 = UIFactory.gBitmap(ImagesConst.Yuanbao, 164, 236, this);
            _item = UIFactory.getUICompoment(RebateItem, 91, 55, this);
            _delLine = UIFactory.gBitmap(ImagesConst.deleteLine, 110, 220, this);
            this._tip = UIFactory.gBitmap(ImagesConst.RechargeShopBigTiP, -1, 128, this);
            this._buyBtn2 = UIFactory.gLoadedButton(ImagesConst.RechargeShopBigBuy_upSkin, 68, 261, 108, 44, this);
            this._buyBtn2.label = "";
            var _loc_1:Boolean = false;
            _numTxt.mouseEnabled = false;
            _numTxt.selectable = _loc_1;
            this._buyBtn2.configEventListener(MouseEvent.CLICK, onBugHd);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            _bg.dispose(param1);
            this._title.dispose(param1);
            _numTxt.dispose(param1);
            _oldPrice.dispose(param1);
            _newPrice.dispose(param1);
            this._moneyIcon1.dispose(param1);
            this._moneyIcon2.dispose(param1);
            _item.dispose(param1);
            _delLine.dispose(param1);
            this._tip.dispose(param1);
            this._buyBtn2.dispose(param1);
            _bg = null;
            this._title = null;
            _numTxt = null;
            _oldPrice = null;
            _newPrice = null;
            this._moneyIcon1 = null;
            this._moneyIcon2 = null;
            _item = null;
            _delLine = null;
            this._tip = null;
            this._buyBtn2 = null;
            return;
        }// end function

    }
}
